package com.thirteen.app.dto.CreatePaperResponse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "创建考试试卷")
public class PaperCreateDto {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "试卷Id", required = true)
    private Integer paperId;

    @ApiModelProperty(value = "用户Id", required = true)
    private Integer userId;

    @ApiModelProperty(value = "课程Id", required = true)
    private Integer courseId;

    @ApiModelProperty(value = "试卷标题", required = true)
    private String title;

    @ApiModelProperty(value = "总分", required = true)
    private Integer totalScore;

    @ApiModelProperty(value = "客观总分", required = true)
    private Integer objectiveScore;

    @ApiModelProperty(value = "主观总分", required = true)
    private Integer subjectiveScore;

    @ApiModelProperty(value = "有无简答题", required = true)
    private Boolean hasSAQ;

    @ApiModelProperty(value = "小题列表", required = true)
    private List<QuestionCreateDto> questionList;

    @ApiModelProperty(value = "大题类型列表", required = true)
    private List<Integer> questionTypeList;


}
